<!DOCTYPE html>
<html  xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>微点滴</title>
<link href="/css/core/home-frame2-all-min.css" rel="stylesheet" type="text/css" />
<link href="/css/notice/requests-all-min.css" rel="stylesheet" type="text/css" />
<!--[if IE]><script type="text/javascript" src="/js/core/expressions.js"></script><![endif]-->
<script type="text/javascript" src="/js/core/jquery-1.2.6.pack.js"></script>
</head>

<script type="text/javascript">
	function _getNTOfType(nt_type)
	{
		
		$.ajax({
			  url: "/index.php?r=notice/getnt",
			  data: {'nt':nt_type},
			  type: 'get',
			  success: function(data){
				  	$('#_nt_content').html(data._html);
			  },
			  dataType: "json"
		});
	}
</script>
<body id="home" class="home">
	<!-- 固定导航开始 -->
	<?php $this->widget('SiteMenu');?>
	<!-- 固定导航结束 -->
	<div id="container-for-pager">
		<div id="container">
			<div id="topbar"></div>
			<div class="full-page clearfix">
					<!-- 左侧导航菜单 --> 
					<div id="subNav" class="sub-nav "> 
						<h1 class="page-title">消息中心</h1>
						<!-- 通知 -->
						<div class="class-title"><a class=" " >请求通知</a></div>
						<ul class="request-menu">
							<li>
								<a class=" " href="javascript:;" onclick="_getNTOfType('addfriendrequest')">
									<img class="icon" src="http://weidiandi.com/images/hi.gif" height="16" width="16">加熟人请求
									<span class="count">15</span>
								</a> 
							</li>
							<li>
								<a class=" " href="javascript:;" onclick="_getNTOfType('addfriendresultrequest')">
									<img class="icon" src="http://weidiandi.com/images/hi.gif" height="16" width="16">请求结果
									<span class="count">15</span>
								</a> 
							</li>
						</ul>
					</div>
					<!-- 右侧请求列表 -->
					<div id="_nt_content">
					
					</div>
			</div>
			<div id="footer"></div>
		</div>
	</div>
</body>